Integrand size = 27, antiderivative size = 369 \[ \int \frac {(c+d \sin (e+f x))^{5/2}}{(3+b \sin (e+f x))^2} \, dx=\frac {(b c-3 d)^2 \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{b \left (9-b^2\right ) f (3+b \sin (e+f x))}-\frac {\left (6 b c d-27 d^2-b^2 \left (c^2-2 d^2\right )\right ) E\left (\frac {1}{2} \left (e-\frac {\pi }{2}+f x\right )|\frac {2 d}{c+d}\right ) \sqrt {c+d \sin (e+f x)}}{b^2 \left (9-b^2\right ) f \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}+\frac {(b c-3 d) \left (6 b c d+27 d^2-b^2 \left (c^2+4 d^2\right )\right ) \operatorname {EllipticF}\left (\frac {1}{2} \left (e-\frac {\pi }{2}+f x\right ),\frac {2 d}{c+d}\right ) \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}{b^3 \left (9-b^2\right ) f \sqrt {c+d \sin (e+f x)}}+\frac {(b c-3 d)^2 \left (6 b c+27 d-5 b^2 d\right ) \operatorname {EllipticPi}\left (\frac {2 b}{3+b},\frac {1}{2} \left (e-\frac {\pi }{2}+f x\right ),\frac {2 d}{c+d}\right ) \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}{(3-b) b^3 (3+b)^2 f \sqrt {c+d \sin (e+f x)}} \]
(-a*d+b*c)^2*cos(f*x+e)*(c+d*sin(f*x+e))^(1/2)/b/(a^2-b^2)/f/(a+b*sin(f*x+ e))+(2*a*b*c*d-3*a^2*d^2-b^2*(c^2-2*d^2))*(sin(1/2*e+1/4*Pi+1/2*f*x)^2)^(1 /2)/sin(1/2*e+1/4*Pi+1/2*f*x)*EllipticE(cos(1/2*e+1/4*Pi+1/2*f*x),2^(1/2)* (d/(c+d))^(1/2))*(c+d*sin(f*x+e))^(1/2)/b^2/(a^2-b^2)/f/((c+d*sin(f*x+e))/ (c+d))^(1/2)-(-a*d+b*c)*(2*a*b*c*d+3*a^2*d^2-b^2*(c^2+4*d^2))*(sin(1/2*e+1 /4*Pi+1/2*f*x)^2)^(1/2)/sin(1/2*e+1/4*Pi+1/2*f*x)*EllipticF(cos(1/2*e+1/4* Pi+1/2*f*x),2^(1/2)*(d/(c+d))^(1/2))*((c+d*sin(f*x+e))/(c+d))^(1/2)/b^3/(a ^2-b^2)/f/(c+d*sin(f*x+e))^(1/2)-(-a*d+b*c)^2*(3*a^2*d+2*a*b*c-5*b^2*d)*(s in(1/2*e+1/4*Pi+1/2*f*x)^2)^(1/2)/sin(1/2*e+1/4*Pi+1/2*f*x)*EllipticPi(cos (1/2*e+1/4*Pi+1/2*f*x),2*b/(a+b),2^(1/2)*(d/(c+d))^(1/2))*((c+d*sin(f*x+e) )/(c+d))^(1/2)/(a-b)/b^3/(a+b)^2/f/(c+d*sin(f*x+e))^(1/2)
Result contains complex when optimal does not.
Time = 9.51 (sec) , antiderivative size = 950, normalized size of antiderivative = 2.57 \[ \int \frac {(c+d \sin (e+f x))^{5/2}}{(3+b \sin (e+f x))^2} \, dx=\frac {\left (-b^2 c^2 \cos (e+f x)+6 b c d \cos (e+f x)-9 d^2 \cos (e+f x)\right ) \sqrt {c+d \sin (e+f x)}}{b \left (-9+b^2\right ) f (3+b \sin (e+f x))}+\frac {-\frac {2 \left (-12 b c^3+9 b^2 c^2 d-18 b c d^2-9 d^3+2 b^2 d^3\right ) \operatorname {EllipticPi}\left (\frac {2 b}{3+b},\frac {1}{2} \left (-e+\frac {\pi }{2}-f x\right ),\frac {2 d}{c+d}\right ) \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}{(3+b) \sqrt {c+d \sin (e+f x)}}-\frac {2 i \left (-12 b c^2 d-36 c d^2+12 b^2 c d^2-12 b d^3\right ) \cos (e+f x) \left ((b c-3 d) \operatorname {EllipticF}\left (i \text {arcsinh}\left (\sqrt {-\frac {1}{c+d}} \sqrt {c+d \sin (e+f x)}\right ),\frac {c+d}{c-d}\right )+3 d \operatorname {EllipticPi}\left (\frac {b (c+d)}{b c-3 d},i \text {arcsinh}\left (\sqrt {-\frac {1}{c+d}} \sqrt {c+d \sin (e+f x)}\right ),\frac {c+d}{c-d}\right )\right ) \sqrt {\frac {d-d \sin (e+f x)}{c+d}} \sqrt {-\frac {d+d \sin (e+f x)}{c-d}} (-b c+3 d+b (c+d \sin (e+f x)))}{b (b c-3 d) d^2 \sqrt {-\frac {1}{c+d}} (3+b \sin (e+f x)) \sqrt {1-\sin ^2(e+f x)} \sqrt {-\frac {c^2-d^2-2 c (c+d \sin (e+f x))+(c+d \sin (e+f x))^2}{d^2}}}-\frac {2 i \left (b^2 c^2 d-6 b c d^2+27 d^3-2 b^2 d^3\right ) \cos (e+f x) \cos (2 (e+f x)) \left (2 b (b c-3 d) (c-d) E\left (i \text {arcsinh}\left (\sqrt {-\frac {1}{c+d}} \sqrt {c+d \sin (e+f x)}\right )|\frac {c+d}{c-d}\right )+d \left (2 (3+b) (b c-3 d) \operatorname {EllipticF}\left (i \text {arcsinh}\left (\sqrt {-\frac {1}{c+d}} \sqrt {c+d \sin (e+f x)}\right ),\frac {c+d}{c-d}\right )-\left (-18+b^2\right ) d \operatorname {EllipticPi}\left (\frac {b (c+d)}{b c-3 d},i \text {arcsinh}\left (\sqrt {-\frac {1}{c+d}} \sqrt {c+d \sin (e+f x)}\right ),\frac {c+d}{c-d}\right )\right )\right ) \sqrt {\frac {d-d \sin (e+f x)}{c+d}} \sqrt {-\frac {d+d \sin (e+f x)}{c-d}} (-b c+3 d+b (c+d \sin (e+f x)))}{b^2 (b c-3 d) d \sqrt {-\frac {1}{c+d}} (3+b \sin (e+f x)) \sqrt {1-\sin ^2(e+f x)} \left (-2 c^2+d^2+4 c (c+d \sin (e+f x))-2 (c+d \sin (e+f x))^2\right ) \sqrt {-\frac {c^2-d^2-2 c (c+d \sin (e+f x))+(c+d \sin (e+f x))^2}{d^2}}}}{4 (-3+b) b (3+b) f} \]
((-(b^2*c^2*Cos[e + f*x]) + 6*b*c*d*Cos[e + f*x] - 9*d^2*Cos[e + f*x])*Sqr t[c + d*Sin[e + f*x]])/(b*(-9 + b^2)*f*(3 + b*Sin[e + f*x])) + ((-2*(-12*b *c^3 + 9*b^2*c^2*d - 18*b*c*d^2 - 9*d^3 + 2*b^2*d^3)*EllipticPi[(2*b)/(3 + b), (-e + Pi/2 - f*x)/2, (2*d)/(c + d)]*Sqrt[(c + d*Sin[e + f*x])/(c + d) ])/((3 + b)*Sqrt[c + d*Sin[e + f*x]]) - ((2*I)*(-12*b*c^2*d - 36*c*d^2 + 1 2*b^2*c*d^2 - 12*b*d^3)*Cos[e + f*x]*((b*c - 3*d)*EllipticF[I*ArcSinh[Sqrt [-(c + d)^(-1)]*Sqrt[c + d*Sin[e + f*x]]], (c + d)/(c - d)] + 3*d*Elliptic Pi[(b*(c + d))/(b*c - 3*d), I*ArcSinh[Sqrt[-(c + d)^(-1)]*Sqrt[c + d*Sin[e + f*x]]], (c + d)/(c - d)])*Sqrt[(d - d*Sin[e + f*x])/(c + d)]*Sqrt[-((d + d*Sin[e + f*x])/(c - d))]*(-(b*c) + 3*d + b*(c + d*Sin[e + f*x])))/(b*(b *c - 3*d)*d^2*Sqrt[-(c + d)^(-1)]*(3 + b*Sin[e + f*x])*Sqrt[1 - Sin[e + f* x]^2]*Sqrt[-((c^2 - d^2 - 2*c*(c + d*Sin[e + f*x]) + (c + d*Sin[e + f*x])^ 2)/d^2)]) - ((2*I)*(b^2*c^2*d - 6*b*c*d^2 + 27*d^3 - 2*b^2*d^3)*Cos[e + f* x]*Cos[2*(e + f*x)]*(2*b*(b*c - 3*d)*(c - d)*EllipticE[I*ArcSinh[Sqrt[-(c + d)^(-1)]*Sqrt[c + d*Sin[e + f*x]]], (c + d)/(c - d)] + d*(2*(3 + b)*(b*c - 3*d)*EllipticF[I*ArcSinh[Sqrt[-(c + d)^(-1)]*Sqrt[c + d*Sin[e + f*x]]], (c + d)/(c - d)] - (-18 + b^2)*d*EllipticPi[(b*(c + d))/(b*c - 3*d), I*Ar cSinh[Sqrt[-(c + d)^(-1)]*Sqrt[c + d*Sin[e + f*x]]], (c + d)/(c - d)]))*Sq rt[(d - d*Sin[e + f*x])/(c + d)]*Sqrt[-((d + d*Sin[e + f*x])/(c - d))]*(-( b*c) + 3*d + b*(c + d*Sin[e + f*x])))/(b^2*(b*c - 3*d)*d*Sqrt[-(c + d)^...
Time = 2.88 (sec) , antiderivative size = 393, normalized size of antiderivative = 1.07, number of steps used = 17, number of rules used = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.630, Rules used = {3042, 3271, 27, 3042, 3538, 3042, 3134, 3042, 3132, 3481, 3042, 3142, 3042, 3140, 3286, 3042, 3284}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {(c+d \sin (e+f x))^{5/2}}{(a+b \sin (e+f x))^2} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {(c+d \sin (e+f x))^{5/2}}{(a+b \sin (e+f x))^2}dx\) |
\(\Big \downarrow \) 3271 |
\(\displaystyle \frac {(b c-a d)^2 \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{b f \left (a^2-b^2\right ) (a+b \sin (e+f x))}-\frac {\int \frac {a^2 d^3+5 b^2 c^2 d+\left (-\left (\left (c^2-2 d^2\right ) b^2\right )+2 a c d b-3 a^2 d^2\right ) \sin ^2(e+f x) d-2 \left (c d a^2+b \left (c^2+d^2\right ) a-3 b^2 c d\right ) \sin (e+f x) d-2 a b c \left (c^2+2 d^2\right )}{2 (a+b \sin (e+f x)) \sqrt {c+d \sin (e+f x)}}dx}{b \left (a^2-b^2\right )}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {(b c-a d)^2 \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{b f \left (a^2-b^2\right ) (a+b \sin (e+f x))}-\frac {\int \frac {a^2 d^3+5 b^2 c^2 d+\left (-\left (\left (c^2-2 d^2\right ) b^2\right )+2 a c d b-3 a^2 d^2\right ) \sin ^2(e+f x) d-2 \left (c d a^2+b \left (c^2+d^2\right ) a-3 b^2 c d\right ) \sin (e+f x) d-2 a b c \left (c^2+2 d^2\right )}{(a+b \sin (e+f x)) \sqrt {c+d \sin (e+f x)}}dx}{2 b \left (a^2-b^2\right )}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {(b c-a d)^2 \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{b f \left (a^2-b^2\right ) (a+b \sin (e+f x))}-\frac {\int \frac {a^2 d^3+5 b^2 c^2 d+\left (-\left (\left (c^2-2 d^2\right ) b^2\right )+2 a c d b-3 a^2 d^2\right ) \sin (e+f x)^2 d-2 \left (c d a^2+b \left (c^2+d^2\right ) a-3 b^2 c d\right ) \sin (e+f x) d-2 a b c \left (c^2+2 d^2\right )}{(a+b \sin (e+f x)) \sqrt {c+d \sin (e+f x)}}dx}{2 b \left (a^2-b^2\right )}\) |
\(\Big \downarrow \) 3538 |
\(\displaystyle \frac {(b c-a d)^2 \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{b f \left (a^2-b^2\right ) (a+b \sin (e+f x))}-\frac {\frac {\left (-3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2-2 d^2\right )\right )\right ) \int \sqrt {c+d \sin (e+f x)}dx}{b}-\frac {\int \frac {d (b c-a d) \left (3 c d a^2+b \left (c^2+d^2\right ) a-5 b^2 c d\right )+d (b c-a d) \left (-\left (\left (c^2+4 d^2\right ) b^2\right )+2 a c d b+3 a^2 d^2\right ) \sin (e+f x)}{(a+b \sin (e+f x)) \sqrt {c+d \sin (e+f x)}}dx}{b d}}{2 b \left (a^2-b^2\right )}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {(b c-a d)^2 \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{b f \left (a^2-b^2\right ) (a+b \sin (e+f x))}-\frac {\frac {\left (-3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2-2 d^2\right )\right )\right ) \int \sqrt {c+d \sin (e+f x)}dx}{b}-\frac {\int \frac {d (b c-a d) \left (3 c d a^2+b \left (c^2+d^2\right ) a-5 b^2 c d\right )+d (b c-a d) \left (-\left (\left (c^2+4 d^2\right ) b^2\right )+2 a c d b+3 a^2 d^2\right ) \sin (e+f x)}{(a+b \sin (e+f x)) \sqrt {c+d \sin (e+f x)}}dx}{b d}}{2 b \left (a^2-b^2\right )}\) |
\(\Big \downarrow \) 3134 |
\(\displaystyle \frac {(b c-a d)^2 \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{b f \left (a^2-b^2\right ) (a+b \sin (e+f x))}-\frac {\frac {\left (-3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2-2 d^2\right )\right )\right ) \sqrt {c+d \sin (e+f x)} \int \sqrt {\frac {c}{c+d}+\frac {d \sin (e+f x)}{c+d}}dx}{b \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}-\frac {\int \frac {d (b c-a d) \left (3 c d a^2+b \left (c^2+d^2\right ) a-5 b^2 c d\right )+d (b c-a d) \left (-\left (\left (c^2+4 d^2\right ) b^2\right )+2 a c d b+3 a^2 d^2\right ) \sin (e+f x)}{(a+b \sin (e+f x)) \sqrt {c+d \sin (e+f x)}}dx}{b d}}{2 b \left (a^2-b^2\right )}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {(b c-a d)^2 \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{b f \left (a^2-b^2\right ) (a+b \sin (e+f x))}-\frac {\frac {\left (-3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2-2 d^2\right )\right )\right ) \sqrt {c+d \sin (e+f x)} \int \sqrt {\frac {c}{c+d}+\frac {d \sin (e+f x)}{c+d}}dx}{b \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}-\frac {\int \frac {d (b c-a d) \left (3 c d a^2+b \left (c^2+d^2\right ) a-5 b^2 c d\right )+d (b c-a d) \left (-\left (\left (c^2+4 d^2\right ) b^2\right )+2 a c d b+3 a^2 d^2\right ) \sin (e+f x)}{(a+b \sin (e+f x)) \sqrt {c+d \sin (e+f x)}}dx}{b d}}{2 b \left (a^2-b^2\right )}\) |
\(\Big \downarrow \) 3132 |
\(\displaystyle \frac {(b c-a d)^2 \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{b f \left (a^2-b^2\right ) (a+b \sin (e+f x))}-\frac {\frac {2 \left (-3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2-2 d^2\right )\right )\right ) \sqrt {c+d \sin (e+f x)} E\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right )|\frac {2 d}{c+d}\right )}{b f \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}-\frac {\int \frac {d (b c-a d) \left (3 c d a^2+b \left (c^2+d^2\right ) a-5 b^2 c d\right )+d (b c-a d) \left (-\left (\left (c^2+4 d^2\right ) b^2\right )+2 a c d b+3 a^2 d^2\right ) \sin (e+f x)}{(a+b \sin (e+f x)) \sqrt {c+d \sin (e+f x)}}dx}{b d}}{2 b \left (a^2-b^2\right )}\) |
\(\Big \downarrow \) 3481 |
\(\displaystyle \frac {(b c-a d)^2 \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{b f \left (a^2-b^2\right ) (a+b \sin (e+f x))}-\frac {\frac {2 \left (-3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2-2 d^2\right )\right )\right ) \sqrt {c+d \sin (e+f x)} E\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right )|\frac {2 d}{c+d}\right )}{b f \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}-\frac {\frac {d \left (3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2+4 d^2\right )\right )\right ) (b c-a d) \int \frac {1}{\sqrt {c+d \sin (e+f x)}}dx}{b}+\frac {d \left (3 a^2 d+2 a b c-5 b^2 d\right ) (b c-a d)^2 \int \frac {1}{(a+b \sin (e+f x)) \sqrt {c+d \sin (e+f x)}}dx}{b}}{b d}}{2 b \left (a^2-b^2\right )}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {(b c-a d)^2 \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{b f \left (a^2-b^2\right ) (a+b \sin (e+f x))}-\frac {\frac {2 \left (-3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2-2 d^2\right )\right )\right ) \sqrt {c+d \sin (e+f x)} E\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right )|\frac {2 d}{c+d}\right )}{b f \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}-\frac {\frac {d \left (3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2+4 d^2\right )\right )\right ) (b c-a d) \int \frac {1}{\sqrt {c+d \sin (e+f x)}}dx}{b}+\frac {d \left (3 a^2 d+2 a b c-5 b^2 d\right ) (b c-a d)^2 \int \frac {1}{(a+b \sin (e+f x)) \sqrt {c+d \sin (e+f x)}}dx}{b}}{b d}}{2 b \left (a^2-b^2\right )}\) |
\(\Big \downarrow \) 3142 |
\(\displaystyle \frac {(b c-a d)^2 \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{b f \left (a^2-b^2\right ) (a+b \sin (e+f x))}-\frac {\frac {2 \left (-3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2-2 d^2\right )\right )\right ) \sqrt {c+d \sin (e+f x)} E\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right )|\frac {2 d}{c+d}\right )}{b f \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}-\frac {\frac {d \left (3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2+4 d^2\right )\right )\right ) (b c-a d) \sqrt {\frac {c+d \sin (e+f x)}{c+d}} \int \frac {1}{\sqrt {\frac {c}{c+d}+\frac {d \sin (e+f x)}{c+d}}}dx}{b \sqrt {c+d \sin (e+f x)}}+\frac {d \left (3 a^2 d+2 a b c-5 b^2 d\right ) (b c-a d)^2 \int \frac {1}{(a+b \sin (e+f x)) \sqrt {c+d \sin (e+f x)}}dx}{b}}{b d}}{2 b \left (a^2-b^2\right )}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {(b c-a d)^2 \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{b f \left (a^2-b^2\right ) (a+b \sin (e+f x))}-\frac {\frac {2 \left (-3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2-2 d^2\right )\right )\right ) \sqrt {c+d \sin (e+f x)} E\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right )|\frac {2 d}{c+d}\right )}{b f \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}-\frac {\frac {d \left (3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2+4 d^2\right )\right )\right ) (b c-a d) \sqrt {\frac {c+d \sin (e+f x)}{c+d}} \int \frac {1}{\sqrt {\frac {c}{c+d}+\frac {d \sin (e+f x)}{c+d}}}dx}{b \sqrt {c+d \sin (e+f x)}}+\frac {d \left (3 a^2 d+2 a b c-5 b^2 d\right ) (b c-a d)^2 \int \frac {1}{(a+b \sin (e+f x)) \sqrt {c+d \sin (e+f x)}}dx}{b}}{b d}}{2 b \left (a^2-b^2\right )}\) |
\(\Big \downarrow \) 3140 |
\(\displaystyle \frac {(b c-a d)^2 \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{b f \left (a^2-b^2\right ) (a+b \sin (e+f x))}-\frac {\frac {2 \left (-3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2-2 d^2\right )\right )\right ) \sqrt {c+d \sin (e+f x)} E\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right )|\frac {2 d}{c+d}\right )}{b f \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}-\frac {\frac {d \left (3 a^2 d+2 a b c-5 b^2 d\right ) (b c-a d)^2 \int \frac {1}{(a+b \sin (e+f x)) \sqrt {c+d \sin (e+f x)}}dx}{b}+\frac {2 d \left (3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2+4 d^2\right )\right )\right ) (b c-a d) \sqrt {\frac {c+d \sin (e+f x)}{c+d}} \operatorname {EllipticF}\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right ),\frac {2 d}{c+d}\right )}{b f \sqrt {c+d \sin (e+f x)}}}{b d}}{2 b \left (a^2-b^2\right )}\) |
\(\Big \downarrow \) 3286 |
\(\displaystyle \frac {(b c-a d)^2 \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{b f \left (a^2-b^2\right ) (a+b \sin (e+f x))}-\frac {\frac {2 \left (-3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2-2 d^2\right )\right )\right ) \sqrt {c+d \sin (e+f x)} E\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right )|\frac {2 d}{c+d}\right )}{b f \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}-\frac {\frac {d \left (3 a^2 d+2 a b c-5 b^2 d\right ) (b c-a d)^2 \sqrt {\frac {c+d \sin (e+f x)}{c+d}} \int \frac {1}{(a+b \sin (e+f x)) \sqrt {\frac {c}{c+d}+\frac {d \sin (e+f x)}{c+d}}}dx}{b \sqrt {c+d \sin (e+f x)}}+\frac {2 d \left (3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2+4 d^2\right )\right )\right ) (b c-a d) \sqrt {\frac {c+d \sin (e+f x)}{c+d}} \operatorname {EllipticF}\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right ),\frac {2 d}{c+d}\right )}{b f \sqrt {c+d \sin (e+f x)}}}{b d}}{2 b \left (a^2-b^2\right )}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {(b c-a d)^2 \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{b f \left (a^2-b^2\right ) (a+b \sin (e+f x))}-\frac {\frac {2 \left (-3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2-2 d^2\right )\right )\right ) \sqrt {c+d \sin (e+f x)} E\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right )|\frac {2 d}{c+d}\right )}{b f \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}-\frac {\frac {d \left (3 a^2 d+2 a b c-5 b^2 d\right ) (b c-a d)^2 \sqrt {\frac {c+d \sin (e+f x)}{c+d}} \int \frac {1}{(a+b \sin (e+f x)) \sqrt {\frac {c}{c+d}+\frac {d \sin (e+f x)}{c+d}}}dx}{b \sqrt {c+d \sin (e+f x)}}+\frac {2 d \left (3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2+4 d^2\right )\right )\right ) (b c-a d) \sqrt {\frac {c+d \sin (e+f x)}{c+d}} \operatorname {EllipticF}\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right ),\frac {2 d}{c+d}\right )}{b f \sqrt {c+d \sin (e+f x)}}}{b d}}{2 b \left (a^2-b^2\right )}\) |
\(\Big \downarrow \) 3284 |
\(\displaystyle \frac {(b c-a d)^2 \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{b f \left (a^2-b^2\right ) (a+b \sin (e+f x))}-\frac {\frac {2 \left (-3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2-2 d^2\right )\right )\right ) \sqrt {c+d \sin (e+f x)} E\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right )|\frac {2 d}{c+d}\right )}{b f \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}-\frac {\frac {2 d \left (3 a^2 d^2+2 a b c d-\left (b^2 \left (c^2+4 d^2\right )\right )\right ) (b c-a d) \sqrt {\frac {c+d \sin (e+f x)}{c+d}} \operatorname {EllipticF}\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right ),\frac {2 d}{c+d}\right )}{b f \sqrt {c+d \sin (e+f x)}}+\frac {2 d \left (3 a^2 d+2 a b c-5 b^2 d\right ) (b c-a d)^2 \sqrt {\frac {c+d \sin (e+f x)}{c+d}} \operatorname {EllipticPi}\left (\frac {2 b}{a+b},\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right ),\frac {2 d}{c+d}\right )}{b f (a+b) \sqrt {c+d \sin (e+f x)}}}{b d}}{2 b \left (a^2-b^2\right )}\) |
((b*c - a*d)^2*Cos[e + f*x]*Sqrt[c + d*Sin[e + f*x]])/(b*(a^2 - b^2)*f*(a + b*Sin[e + f*x])) - ((2*(2*a*b*c*d - 3*a^2*d^2 - b^2*(c^2 - 2*d^2))*Ellip ticE[(e - Pi/2 + f*x)/2, (2*d)/(c + d)]*Sqrt[c + d*Sin[e + f*x]])/(b*f*Sqr t[(c + d*Sin[e + f*x])/(c + d)]) - ((2*d*(b*c - a*d)*(2*a*b*c*d + 3*a^2*d^ 2 - b^2*(c^2 + 4*d^2))*EllipticF[(e - Pi/2 + f*x)/2, (2*d)/(c + d)]*Sqrt[( c + d*Sin[e + f*x])/(c + d)])/(b*f*Sqrt[c + d*Sin[e + f*x]]) + (2*d*(b*c - a*d)^2*(2*a*b*c + 3*a^2*d - 5*b^2*d)*EllipticPi[(2*b)/(a + b), (e - Pi/2 + f*x)/2, (2*d)/(c + d)]*Sqrt[(c + d*Sin[e + f*x])/(c + d)])/(b*(a + b)*f* Sqrt[c + d*Sin[e + f*x]]))/(b*d))/(2*b*(a^2 - b^2))
3.8.52.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[2*(Sqrt[a + b]/d)*EllipticE[(1/2)*(c - Pi/2 + d*x), 2*(b/(a + b))], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 - b^2, 0] && GtQ[a + b, 0]
Int[Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[Sqrt[a + b*Sin[c + d*x]]/Sqrt[(a + b*Sin[c + d*x])/(a + b)] Int[Sqrt[a/(a + b) + ( b/(a + b))*Sin[c + d*x]], x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 - b^2 , 0] && !GtQ[a + b, 0]
Int[1/Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2/(d*S qrt[a + b]))*EllipticF[(1/2)*(c - Pi/2 + d*x), 2*(b/(a + b))], x] /; FreeQ[ {a, b, c, d}, x] && NeQ[a^2 - b^2, 0] && GtQ[a + b, 0]
Int[1/Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[Sqrt[(a + b*Sin[c + d*x])/(a + b)]/Sqrt[a + b*Sin[c + d*x]] Int[1/Sqrt[a/(a + b) + (b/(a + b))*Sin[c + d*x]], x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 - b^2, 0] && !GtQ[a + b, 0]
Int[((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp[(-(b^2*c^2 - 2*a*b*c*d + a^2*d^2))*Co s[e + f*x]*(a + b*Sin[e + f*x])^(m - 2)*((c + d*Sin[e + f*x])^(n + 1)/(d*f* (n + 1)*(c^2 - d^2))), x] + Simp[1/(d*(n + 1)*(c^2 - d^2)) Int[(a + b*Sin [e + f*x])^(m - 3)*(c + d*Sin[e + f*x])^(n + 1)*Simp[b*(m - 2)*(b*c - a*d)^ 2 + a*d*(n + 1)*(c*(a^2 + b^2) - 2*a*b*d) + (b*(n + 1)*(a*b*c^2 + c*d*(a^2 + b^2) - 3*a*b*d^2) - a*(n + 2)*(b*c - a*d)^2)*Sin[e + f*x] + b*(b^2*(c^2 - d^2) - m*(b*c - a*d)^2 + d*n*(2*a*b*c - d*(a^2 + b^2)))*Sin[e + f*x]^2, x] , x], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && GtQ[m, 2] && LtQ[n, -1] && (IntegerQ[m] || IntegersQ[2*m, 2*n])
Int[1/(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])*Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Simp[(2/(f*(a + b)*Sqrt[c + d]))*EllipticPi[ 2*(b/(a + b)), (1/2)*(e - Pi/2 + f*x), 2*(d/(c + d))], x] /; FreeQ[{a, b, c , d, e, f}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && GtQ[c + d, 0]
Int[1/(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])*Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Simp[Sqrt[(c + d*Sin[e + f*x])/(c + d)]/Sqrt [c + d*Sin[e + f*x]] Int[1/((a + b*Sin[e + f*x])*Sqrt[c/(c + d) + (d/(c + d))*Sin[e + f*x]]), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a* d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && !GtQ[c + d, 0]
Int[(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)]))/((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]), x_Symbol] :> Simp[ B/d Int[(a + b*Sin[e + f*x])^m, x], x] - Simp[(B*c - A*d)/d Int[(a + b* Sin[e + f*x])^m/(c + d*Sin[e + f*x]), x], x] /; FreeQ[{a, b, c, d, e, f, A, B, m}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]
Int[((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)] + (C_.)*sin[(e_.) + (f_.)*(x_)]^ 2)/(Sqrt[(a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])), x_Symbol] :> Simp[C/(b*d) Int[Sqrt[a + b*Sin[e + f*x]], x] , x] - Simp[1/(b*d) Int[Simp[a*c*C - A*b*d + (b*c*C - b*B*d + a*C*d)*Sin[ e + f*x], x]/(Sqrt[a + b*Sin[e + f*x]]*(c + d*Sin[e + f*x])), x], x] /; Fre eQ[{a, b, c, d, e, f, A, B, C}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0 ] && NeQ[c^2 - d^2, 0]
Leaf count of result is larger than twice the leaf count of optimal. \(1362\) vs. \(2(476)=952\).
Time = 17.08 (sec) , antiderivative size = 1363, normalized size of antiderivative = 3.69
(-(-d*sin(f*x+e)-c)*cos(f*x+e)^2)^(1/2)*(d^2/b^3*(-4*d*a*(c/d-1)*((c+d*sin (f*x+e))/(c-d))^(1/2)*(d*(1-sin(f*x+e))/(c+d))^(1/2)*(1/(c-d)*(-sin(f*x+e) -1)*d)^(1/2)/(-(-d*sin(f*x+e)-c)*cos(f*x+e)^2)^(1/2)*EllipticF(((c+d*sin(f *x+e))/(c-d))^(1/2),((c-d)/(c+d))^(1/2))+6*c*b*(c/d-1)*((c+d*sin(f*x+e))/( c-d))^(1/2)*(d*(1-sin(f*x+e))/(c+d))^(1/2)*(1/(c-d)*(-sin(f*x+e)-1)*d)^(1/ 2)/(-(-d*sin(f*x+e)-c)*cos(f*x+e)^2)^(1/2)*EllipticF(((c+d*sin(f*x+e))/(c- d))^(1/2),((c-d)/(c+d))^(1/2))+2*b*d*(c/d-1)*((c+d*sin(f*x+e))/(c-d))^(1/2 )*(d*(1-sin(f*x+e))/(c+d))^(1/2)*(1/(c-d)*(-sin(f*x+e)-1)*d)^(1/2)/(-(-d*s in(f*x+e)-c)*cos(f*x+e)^2)^(1/2)*((-c/d-1)*EllipticE(((c+d*sin(f*x+e))/(c- d))^(1/2),((c-d)/(c+d))^(1/2))+EllipticF(((c+d*sin(f*x+e))/(c-d))^(1/2),(( c-d)/(c+d))^(1/2))))+6/b^4*d*(a^2*d^2-2*a*b*c*d+b^2*c^2)*(c/d-1)*((c+d*sin (f*x+e))/(c-d))^(1/2)*(d*(1-sin(f*x+e))/(c+d))^(1/2)*(1/(c-d)*(-sin(f*x+e) -1)*d)^(1/2)/(-(-d*sin(f*x+e)-c)*cos(f*x+e)^2)^(1/2)/(-c/d+a/b)*EllipticPi (((c+d*sin(f*x+e))/(c-d))^(1/2),(-c/d+1)/(-c/d+a/b),((c-d)/(c+d))^(1/2))+1 /b^3*(-a^3*d^3+3*a^2*b*c*d^2-3*a*b^2*c^2*d+b^3*c^3)*(-b^2/(a^3*d-a^2*b*c-a *b^2*d+b^3*c)*(-(-d*sin(f*x+e)-c)*cos(f*x+e)^2)^(1/2)/(a+b*sin(f*x+e))-a*d /(a^3*d-a^2*b*c-a*b^2*d+b^3*c)*(c/d-1)*((c+d*sin(f*x+e))/(c-d))^(1/2)*(d*( 1-sin(f*x+e))/(c+d))^(1/2)*(1/(c-d)*(-sin(f*x+e)-1)*d)^(1/2)/(-(-d*sin(f*x +e)-c)*cos(f*x+e)^2)^(1/2)*EllipticF(((c+d*sin(f*x+e))/(c-d))^(1/2),((c-d) /(c+d))^(1/2))-b*d/(a^3*d-a^2*b*c-a*b^2*d+b^3*c)*(c/d-1)*((c+d*sin(f*x+...
Timed out. \[ \int \frac {(c+d \sin (e+f x))^{5/2}}{(3+b \sin (e+f x))^2} \, dx=\text {Timed out} \]
Timed out. \[ \int \frac {(c+d \sin (e+f x))^{5/2}}{(3+b \sin (e+f x))^2} \, dx=\text {Timed out} \]
\[ \int \frac {(c+d \sin (e+f x))^{5/2}}{(3+b \sin (e+f x))^2} \, dx=\int { \frac {{\left (d \sin \left (f x + e\right ) + c\right )}^{\frac {5}{2}}}{{\left (b \sin \left (f x + e\right ) + a\right )}^{2}} \,d x } \]
\[ \int \frac {(c+d \sin (e+f x))^{5/2}}{(3+b \sin (e+f x))^2} \, dx=\int { \frac {{\left (d \sin \left (f x + e\right ) + c\right )}^{\frac {5}{2}}}{{\left (b \sin \left (f x + e\right ) + a\right )}^{2}} \,d x } \]
Timed out. \[ \int \frac {(c+d \sin (e+f x))^{5/2}}{(3+b \sin (e+f x))^2} \, dx=\int \frac {{\left (c+d\,\sin \left (e+f\,x\right )\right )}^{5/2}}{{\left (a+b\,\sin \left (e+f\,x\right )\right )}^2} \,d x \]